import request from './request'
import type { cycleRows } from '@/views/scheduleSettings/scheduleSetting'

export function schedulePlanAdds(data: cycleRows) {
  return request({
    url: '/scheduleplan/add',
    method: 'post',
    data: data,
  })
}

export function schedulePlanQuery(data: string) {
  return request({
    url: '/scheduleplan/query?scheduleId=' + data,
    method: 'get',
  })
}
